package com.di.base.feign.service;

import com.di.base.common.dto.AccountRequestDTO;
import com.di.base.config.SeataFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


public interface AccountFeignService {

    @PostMapping("/account/decrease")
    void decrease(@RequestBody AccountRequestDTO request);

    @PostMapping("/account/increase")
    void increase(@RequestBody AccountRequestDTO request);
}